package com.itheima.reggie.service.impl;

import com.itheima.reggie.mapper.ReportMapper;
import com.itheima.reggie.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class ReportServiceImpl implements ReportService {
    @Autowired
    private ReportMapper reportMapper;

    @Override
    public List<Map<String,Integer>> dish(Date beginTime,Date endTime){
        return reportMapper.dish(beginTime,endTime);
    }

    @Override
    public List<Map<String,Integer>> setmeal(Date beginTime,Date endTime){
        return reportMapper.setmeal(beginTime,endTime);
    }

}
